|
| static CommandTO | createCommandTO (String commandName, String sourceHostIP, String groupName, ResourceBundleService resourceBundle, AdministratorTO administratorTO, String siteId, long usn, long timeLimit, String extraParamsInXml, RestartOptions restartOptions) |
| | Creates a transfer object for the specified command The timeLimit parameter is ignored if the specified command does not take timeLimit as a parameter. More...
|
| |
| static RestartOptionsTO | createRestartOptionsTO (RestartOptions restartOptions) |
| | Creates a transfer object for the restart(reboot) options and transfer all information from web-service object to transfer object. More...
|
| |
| static ClientCommandStatusTO | createClientCommandStatusTO (long usn) |
| | Creates a transfer object for the status of a specified client command The command is first set to stateId = 0 (initial). More...
|
| |
| static void | validate (String webMethodInfo, String commandName, String[] computerGUIDList, long timeLimit) throws InvalidArgumentServiceException, InvalidArgumentException |
| | Validates input parameters for the methods of the CommandService API. More...
|
| |
| static void | validatePowerEraserCommand (PowerEraserCommand command, ClientManager clientManager) throws InvalidArgumentServiceException |
| | Validates the PowerEraserCommand details. More...
|
| |
| static String | convertRemediatePayloadToParamXML (RemediateActionPayload remediatePayload) |
| | Converts given RemediateActionPayload object into parameter list XML file. More...
|
| |
| static void | validateEvidenceOfCompromiseCommand (EvidenceOfCompromiseCommand command, String eocSchema, Integer commandResultMaxFileSize, Integer evidenceOfCompromiseAllowedFileSize) throws InvalidArgumentServiceException |
| | Validates the EvidenceOfCompromiseCommand details. More...
|
| |
| static void | validateQuarantineCommand (QuarantineCommand command) throws InvalidArgumentServiceException |
| | Validates the QuarantineCommand details. More...
|
| |
| static ClientCommandStatusFilterTO | createClientCmdStatusFilterTO () |
| | Creates a transfer object to provide filter options for the status of a specified command. More...
|
| |
| static CommandStatusDetailResult | createCmdStatusDetailResult (List< ClientCommandStatusTO > clientCommandStatusList, PagingOptionsTO pagingOptionsTO, Context context, Long totalStatusCount) throws ServiceException |
| | Creates a CommandStatusDetailResult object. More...
|
| |
Provides helper functionality for the CommandService API.
This class validates input parameters and populates transfer objects and filter objects. Additional validation is provided by other classes.
- See also
- GroupNameValidator
-
GUIDValidator See also the other classes in the validation package.
| static CommandTO com.symantec.sepm.webservice.client.command.CommandServiceHelper.createCommandTO |
( |
String |
commandName, |
|
|
String |
sourceHostIP, |
|
|
String |
groupName, |
|
|
ResourceBundleService |
resourceBundle, |
|
|
AdministratorTO |
administratorTO, |
|
|
String |
siteId, |
|
|
long |
usn, |
|
|
long |
timeLimit, |
|
|
String |
extraParamsInXml, |
|
|
RestartOptions |
restartOptions |
|
) |
| |
|
static |
Creates a transfer object for the specified command The timeLimit parameter is ignored if the specified command does not take timeLimit as a parameter.
In this case, pass any value.
For information about Symantec Endpoint Protection Manager sites, see the product documentation.
- Parameters
-
| commandName | command name |
| sourceHostIP | string that specifies the IP address of the command source |
| groupName | group name if available |
| resourceBundle | resource bundle |
| administratorTO | transfer object for the administrator issuing the command |
| siteId | the Symantec Endpoint Protection Manager Site ID |
| usn | unique sequence number |
| timeLimit | long value that specifies the time limit in minutes after which a protection technology is re-enabled if the command disabled the technology |
| extraParamsInXml | Additional command parameter object |
| restartOptions | Restart option information details. |
- Returns
- the Command transfer object